package com.tansun.rule.service;

import java.util.List;

import com.tansun.rule.pojo.User;

public interface SecurityService {
	public User validateUser(String userName, String password, String path);
	public boolean validateUserNameExsit(String userName,String id, String path);
	public boolean validateUserNameExsit(String userName, String path);
	public User validateUserByProj(String userName, String password, String ruleProj, String path);
	public boolean updateUser(String userName, User user, String path);
	public boolean delUser(String userName, String path);
	public boolean addUser(User user, String path);
	public List<User> getUsersFromFile(String path);
	public User getUserById(String userId, String path);
}
